home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PVDATE2_H__
- #define __PVDATE2_H__
-
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- // Dispatch interfaces referenced by this interface
- class COleFont;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate2 wrapper class
-
- class CPVDate2 : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVDate2)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xcc696b63, 0x4159, 0x11d0, { 0xbd, 0xcb, 0x0, 0x20, 0xa9, 0xb, 0x18, 0x3a } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- OLE_COLOR GetBackColor();
- void SetBackColor(OLE_COLOR);
- OLE_COLOR GetForeColor();
- void SetForeColor(OLE_COLOR);
- short GetAlignment();
- void SetAlignment(short);
- short GetDisplayFormat();
- void SetDisplayFormat(short);
- BOOL GetHighlightInverted();
- void SetHighlightInverted(BOOL);
- unsigned long GetHighlightColor();
- void SetHighlightColor(unsigned long);
- DATE GetValue();
- void SetValue(DATE);
- DATE Get_Value();
- void Set_Value(DATE);
- short GetDay();
- void SetDay(short);
- short GetMonth();
- void SetMonth(short);
- short GetYear();
- void SetYear(short);
- short GetDateFormat();
- void SetDateFormat(short);
- CString GetSeparator();
- void SetSeparator(LPCTSTR);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- unsigned long GetDisabledColor();
- void SetDisabledColor(unsigned long);
- BOOL GetTimeStore();
- void SetTimeStore(BOOL);
- BOOL GetModified();
- void SetModified(BOOL);
- CString GetDateString();
- void SetDateString(LPCTSTR);
- BOOL GetSeparatorDefault();
- void SetSeparatorDefault(BOOL);
- short GetBorder();
- void SetBorder(short);
- short GetEditMode();
- void SetEditMode(short);
- BOOL GetEditModeChange();
- void SetEditModeChange(BOOL);
- short GetCalendarFormat();
- void SetCalendarFormat(short);
- short GetStatus();
- void SetStatus(short);
- short GetDayOfWeek();
- void SetDayOfWeek(short);
- short GetDayOfYear();
- void SetDayOfYear(short);
- short GetWeekOfYear();
- void SetWeekOfYear(short);
- short GetValueReset();
- void SetValueReset(short);
-
- // Operations
- public:
- void AboutBox();
- };
-
- #endif // __PVDATE2_H__
-